namespace SumerCoreDevOps.Shared.Models;

/// <summary>
/// 构建趋势数据
/// </summary>
public class BuildTrendData
{
    /// <summary>
    /// 日期 (YYYY-MM-DD)
    /// </summary>
    public string Date { get; set; } = string.Empty;

    /// <summary>
    /// 成功构建数
    /// </summary>
    public int SuccessCount { get; set; }

    /// <summary>
    /// 失败构建数
    /// </summary>
    public int FailedCount { get; set; }

    /// <summary>
    /// 取消构建数
    /// </summary>
    public int CancelledCount { get; set; }

    /// <summary>
    /// 平均持续时间(分钟)
    /// </summary>
    public double AvgDurationMinutes { get; set; }
}
